package com.bijinihaitan.ZJX;
public class WaterElephant {
/**
 * @ClassNameWaterElephant
 * @Author jiaxiang
 * @Description 比基尼海滩出现了一头巨象
 * @Date2022/3/16
 * @Version 1.0
 */

    private String id;
    private String name;
    private String color;
    private String motto;
    private String food;


    public String getId() {

        return id;
    }

    public void setId(String id) {

        this.id = id;
    }

    public String getName() {

        return name;
    }

    public void setName(String name) {

        this.name = name;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {

        this.color = color;
    }

    public String getMotto() {
        return motto;
    }

    public void setMotto(String motto) {
        this.motto = motto;
    }

    public String getFood() {
        return food;
    }

    public void setFood(String food) {
        this.food = food;
    }

    @Override
    public String toString() {
        return "动物类名：WaterElephant{" +
                "动物id：'" + id + '\'' +
                "动物名称'" + name + '\'' +
                "动物颜色'" + color + '\'' +
                "座右铭'" + motto + '\'' +
                "动物的主食'" + food + '\'' +
                '}';
    }
    public void name(){
        System.out.println("水肿象，核能象");
    }
    public  void id(){
        System.out.println("20210413");
    }
    public  void color(){
        System.out.println("白里透红");
    }
    public void motto(){
        System.out.println("喝的海中核，方为象中怪");
    }
    public void food(){
        System.out.println("太平洋核水");
    }
}

